package com.xinqi.modules.course.textbook.dto.req;

import com.xinqi.common.base.response.Param;
import io.swagger.v3.oas.annotations.Parameter;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 课程模块云课本课堂内容-请求对象-查询
 *
 * @author: wenjie
 * @date: 2023/05/30
 */
@Data
public class CourseCloudTextbookContentQueryDTO extends Param {
    /**
     * ID
     */
    @Parameter(description = "id", example = "100001")
    private Long id;

    @Parameter(description = "目录id", example = "100001")
    @NotNull(message = "目录id不能为空")
    private Long refId;
}
